import React,{FC} from "react";
// 用户信息组件，未登录显示登录，登录了显示用户信息
import {Link} from 'react-router-dom'
import {LOGIN_PATHNAME} from '../router'
const UserInfo:FC=()=>{
    return(
        <div>
            <Link to={LOGIN_PATHNAME}>登录</Link>
        </div>
    )
}
export default UserInfo